import request from '@/config/axios'

// 患者危险性占比
export const getDataAnalysis = (data: any) => {
  return request.post({ url: '/dataComparison/all', data })
}


// 自知力统计
export const getSubDbStatusStats = (data: any) => {
  return request.post({ url: '/dataComparison/subDbStatusStats', data })
}


// 危险程度统计
export const getTypeSummary = (data: any) => {
  return request.post({ url: '/dataComparison/typeSummary', data })
}

// 既往危险统计
export const getDangerBehaviorStats = (data: any) => {
  return request.post({ url: '/dataComparison/dangerBehaviorStats', data })
}


